<script>
	import {
		mapMutations
	} from 'vuex'
	export default {
		onLaunch: function() {
			// #ifdef APP-PLUS
			// 锁定屏幕方向
			plus.screen.lockOrientation('portrait-primary'); //锁定
			// #endif
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		methods: {
			...mapMutations(['login'])
		},
		// 捕获 app error
		onError(err) {
			// console.log(err)
		}
	}
</script>

<style>
	@import url("common/uni.css");

	/*每个页面公共css */
	page {
		min-height: 100%;
	}
	.deng{
		color: white;
		font-family: PingFangSC-Regular, sans-serif;
		font-size: 24rpx;
	}
</style>
